/** 
 *  @file       IIC.h
 *  @brief      IIC通讯协议
 *  @author     Z B T  
 *  @version    
 *  @date       2016-01 
 */
 
#ifndef __IIC_H
#define __IIC_H

/* Includes ------------------------------------------------------------------*/
#include "config.h"

/* Private typedef -----------------------------------------------------------*/

/* Private define ------------------------------------------------------------*/

/* Public functions prototypes ---------------------------------------------------------*/
void IIC_start();
void IIC_stop();
unsigned char IIC_send_byte(unsigned char dat, unsigned char ack);
unsigned char IIC_read_byte(void);


#endif
